package com.casstime.ec.cloud.discount.dao.business;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.casstime.ec.cloud.dao.jpa.mybatis.Mapper;
import com.casstime.ec.cloud.values.business.SupplierPromotionConfig;
/**
 * 
 * ClassName: SupplierPromotionConfigMapper 
 * Function: (店铺规则配置dao)
 * Reason: ADD REASON(可选).
 *  
 * @author hongcheng.wu  
 * 2018年4月17日 上午10:25:03
 * @version   
 * @since JDK 1.8
 */
@SuppressWarnings("rawtypes")
public interface SupplierPromotionConfigMapper extends Mapper {
	
	SupplierPromotionConfig getSupplierPromotionConfig(@Param("productStoreId") String productStoreId,
			@Param("configType") String configType); 
	
	
    int	insertSupplierPromotionConfig(@Param("promotionConfig") SupplierPromotionConfig supplierPromotionConfig);
    
    List<SupplierPromotionConfig>  getSupplierPromotionConfigList(@Param("productStoreIds") List<String> productStoreIds,
			@Param("configType") String configType); 
    
	
	
}
